package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.pojo.*;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @program:
 * @description:
 * @author: Qian Jin
 * @create: 2021-07-12
 * @detail:
 **/

@NoArgsConstructor
@Data
public class WxHomeIndexVo {

    private List<Goods> newGoodsList;
    private List<MallCoupon> couponList;
    private List<GoodsCategory> channel;
    private List<GrouponListDTO> grouponList;
    private List<MallAd> banner;
    private List<GoodsBrand> brandList;
    private List<Goods> hotGoodsList;
    private List<MallTopic> topicList;
    private List<FloorGoodsListDTO> floorGoodsList;


    @NoArgsConstructor
    @Data
    public static class GrouponListDTO {
        private BigDecimal groupon_price;
        private Goods goods;
        private Integer groupon_member;

    }


    @NoArgsConstructor
    @Data
    public static class FloorGoodsListDTO {
        private String name;
        private List<Goods> goodsList;
        private Integer id;
    }
}
